package com.mall.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mall.common.annotation.Excel;
import com.mall.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 钱包明细对象 t_wallet
 *
 * @author ruoyi
 * @date 2025-03-31
 */
@Data
@TableName(value = "t_wallet")
@EqualsAndHashCode(callSuper = true)
public class TWallet extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    /**
     * "人员id"
     */
    @Excel(name = "人员id")
    private String userId;
    /**
     * "金额"
     */
    @Excel(name = "金额")
    private BigDecimal money;
    /**
     * "收入类型"
     */
    @Excel(name = "收入类型")
    private String srType;


    /**
     * "1 增加  0 减少"
     */
    @TableField(exist = false)
    private String type;






}
